#!/usr/bin/perl
# external.pl
use strict;
use warnings;

my $files = `ls /home`;   # use something like `dir c:` for DOS/Windows
print $files;